package com.company;

import java.util.Scanner;

public class Main20 {
    public static void main(String[] args) {
        Scanner sr =new Scanner(System.in);
        System.out.println("请输入你工资");
        float a=sr.nextInt();
        if (a<=3000) System.out.println("扣税后工资:"+a*0.03);
        else if(a>3000&&a<=12000) System.out.println("扣税后工资:"+(a-a*0.1));
        else if(a>12000&&a<=25000) System.out.println("扣税后工资:"+(a-a*0.2));
        else if(a>25000&&a<=35000) System.out.println("扣税后工资:"+(a-a*0.25));
        else if(a>35000&&a<=55000) System.out.println("扣税后工资:"+(a-a*0.3));
        else if(a>55000&&a<=80000) System.out.println("扣税后工资:"+(a-a*0.35));
        else if(a>80000) System.out.println("扣税后工资:"+a*0.45);
    }
}
